var userName=process.argv[2];
var password=process.argv[3];

var str="用户名:"+userName+" 密码:"+password;
console.log(str);

var buf=Buffer.from(str);
var str1=buf.toString("base64");
console.log("base64加密："+str1);